package com.hashnode.controller;
import com.hashnode.framework.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class UserController {
    @RequestMapping("/user/add")
    public void add(HttpServletRequest request, HttpServletResponse response) throws IOException {
        response.getWriter().write("add.....");
    }
    @RequestMapping("/user/delete")
    public void delete(HttpServletRequest request, HttpServletResponse response) throws IOException {
        response.getWriter().write("delete.....");
    }
    @RequestMapping("/user/update")
    public void update(HttpServletRequest request, HttpServletResponse response) throws IOException {
        response.getWriter().write("update.....");
    }
    @RequestMapping("/user/query")
    public void query(HttpServletRequest request, HttpServletResponse response) throws IOException {
        response.getWriter().write("query.....");
    }
}
